#ifndef GL_UTILS_H
#define GL_UTILS_H

#include <GLES3/gl3.h>

class GLUtils
{
public:
    static GLuint LoadShader(GLenum shaderType, const char *pSource);

    static GLuint CreateProgram(const char *pVertexShaderSource, const char *pFragShaderSource, GLuint &vertexShaderHandle,
                                GLuint &fragShaderHandle);

    static void DeleteProgram(GLuint &program);

    static void CheckGLError(const char *pGLOperation);
};
#endif // GL_UTILS_H